package zy.jde.jde.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import zy.jde.jde.domain.F0101;
import zy.jde.jde.repository.F0101Repository;

import java.util.List;

@RestController
public class F0101Controller {

    @Autowired
    private F0101Repository repository;

    @GetMapping(value = "/jde")
    public List<F0101> findall(){
        return repository.findAll();
    }
}
